<template>
  <el-container class="home-container">
    <HomeHeader></HomeHeader>
    <el-container class="mainbox">
      <el-aside width="220px">
        <Aside></Aside>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
    <el-footer>
      <audio class="audio"
        controls
        :src="this.$store.state.musicUrl"
        autoplay></audio>
    </el-footer>
  </el-container>
</template>

<script>
import HomeHeader from "@/components/Header";
import Aside from "@/components/aside";
export default {
  data() {
    return {};
  },
  components: {
    HomeHeader,
    Aside,
  },
};
</script>

<style scoped>
.home-container {
  height: 100%;
}
.mainbox{
height: 100%;
}
.el-aside {
  
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 50px;
}
.el-main {
  overflow-y: scroll;
  background-color: #e9eef3;
}
.audio {
  width: 100%;
}
</style>